﻿using EkStudio.com.bean.xml.reflection;

namespace EkStudio.com.bean.xml.ProjectMenu
{
    public class ProjectMenuCommonElement
    {
        private int id = 0;
        private string caption = "";
        private string command = "";
        private string languageTexts = "";
        private string imgUrl = "";

        [Xml("id")]
        public int Id
        {
            get
            {
                return id;
            }

            set
            {
                id = value;
            }
        }
        [Xml("caption")]
        public string Caption
        {
            get
            {
                return caption;
            }

            set
            {
                caption = value;
            }
        }
        [Xml("command")]
        public string Command
        {
            get
            {
                return command;
            }

            set
            {
                command = value;
            }
        }
        [Xml("languageTexts")]
        public string LanguageTexts
        {
            get
            {
                return languageTexts;
            }

            set
            {
                languageTexts = value;
            }
        }
        [Xml("imgUrl")]
        public string ImgUrl
        {
            get
            {
                return imgUrl;
            }

            set
            {
                imgUrl = value;
            }
        }

        public override string ToString()
        {
            return Caption;
        }
    }
}
